<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box{
            width: 1200px;
            height: 300px;
            margin: auto;
            display: flex;
        }
        *{
            box-sizing: border-box;
        }
        .list{
            width: 20%;height: 100%;padding: 10px;
        }
        .list .img{
            width: 100%;height: 80%;
            position: relative;overflow: hidden;
        }
        img{
            width: 100%;position: absolute;
            left: 0;top: 0;margin: auto;
            bottom: 0;right: 0;
        }
        .title{
            width: 100%;height: 20%;
            text-align: center;
        }
    </style>
</head>
<body>
   <div class="box">
       {%for item in arr%}
       <div class="list">
           <div class="img">
               <img src="/static/imgs/{{datas[item.id].img}}" alt="">
           </div>
           <div class="title">
               {{datas[item.id].name}}
               {{item.angle}}
           </div>
       </div>
       {%endfor%}
   </div>
</body>
</html>